import java.net.MalformedURLException;
import java.net.URL;
import java.util.Scanner;

public class MainClass {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try{
			
			GetPictures p = new GetPictures();
			Zipper z = new Zipper();
			Scanner s = new Scanner(System.in);
			p.getURlPicturesDownloads(s.nextLine());
			
			z.zipDir("pictures", "pictures.zip");
		}
		catch(Throwable e){
			e.printStackTrace();
		}
		

	}

}
